﻿using System;
using Autodesk.Revit.DB;
using Autodesk.Revit.DB.Architecture;
using Autodesk.Revit.UI.Selection;

namespace YJKRevitStairs.StairsEdit.Managers
{
	public class SelectStair : ISelectionFilter
	{
		bool ISelectionFilter.AllowElement(Element elem)
		{
			return elem is Stairs;
		}

		bool ISelectionFilter.AllowReference(Reference reference, XYZ position)
		{
			return true;
		}
	}
}
